import time
def bubble(num):
    sw = True
    while sw:
        sw = False
        for i in range(len(num)-1):
            if num[i] > num[i+1]:
                num[i], num[i+1] = num[i+1], num[i]
                sw = True
                